package com.neihe.listenner.event;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.context.ApplicationEvent;

import java.util.List;

/**
 * 文件放入回收站事件
 */
@Getter
@Setter
@ToString
public class RecycleFileEvent extends ApplicationEvent {

    private List<Long> fileIds;

    public RecycleFileEvent(Object source, List<Long> fileIds) {
        super(source);
        this.fileIds = fileIds;
    }
}
